package com.stars.entity.dto.pas;

import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.stars.common.annotation.Dict;
import com.stars.common.base.dto.BaseAppDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Title: 采购管理DTO
 * @author DJ
 * @date 2019-11-12
 * @version V1.0
 *
 */
@Data
@ExcelTarget("20")
public class PasPurchaseDTO extends BaseAppDto{

	/**订单名称*/
	@ApiModelProperty(value ="订单名称",name = "orderName")
	private String orderName;
	/**订单编号*/
	@ApiModelProperty(value ="订单编号",name = "orderCode")
	private String orderCode;
	/**供应商*/
	@ApiModelProperty(value ="供应商",name = "supplierName")
	@Dict(dictTable = "pas_supplier",dictCode = "id",dictName="supplier_name",dictSource="supplier_id")
	private String supplierName;
	/**供应商ID*/
	@ApiModelProperty(value ="供应商ID",name = "supplierId")
	private String supplierId;
	/**订单日期*/
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value ="订单日期",name = "orderDate")
	private String orderDate;
	/**截止日期*/
	@ApiModelProperty(value ="截止日期",name = "orderEndDate")
	private String orderEndDate;
	/**订单总数*/
	@ApiModelProperty(value ="订单总数",name = "orderNum")
	private Integer orderNum;
	/**订单总价（元）*/
	@ApiModelProperty(value ="订单总价（元）",name = "orderPrice")
	private Double orderPrice;
	/**完成总数*/
	@ApiModelProperty(value ="完成总数",name = "doneOrderNum")
	private Integer doneOrderNum;
	/**完成总价(元)*/
	@ApiModelProperty(value ="完成总价(元)",name = "doneOrderPrice")
	private Double doneOrderPrice;
	/**未完成总数*/
	@ApiModelProperty(value ="未完成总数",name = "notDoneOrderNum")
	private Integer notDoneOrderNum;
	/**未完成总价(元)*/
	@ApiModelProperty(value ="未完成总价(元)",name = "notDoneOrderPrice")
	private Double notDoneOrderPrice;
	/**实际总价(元)*/
	@ApiModelProperty(value ="实际总价(元)",name = "actualPrice")
	private Double actualPrice;
	/**联系人*/
	@ApiModelProperty(value ="联系人",name = "orderUser")
	private String orderUser;
	/**联系电话*/
	@ApiModelProperty(value ="联系电话",name = "orderPhone")
	private String orderPhone;
	/**联系地址*/
	@ApiModelProperty(value ="联系地址",name = "orderSite")
	private String orderSite;
	/**订单状态*/
	@ApiModelProperty(value ="订单状态",name = "orderStatus")
	private String orderStatus;
	@ApiModelProperty(value ="时间状态",name = "dateStatus")
	private String dateStatus;
	/**过滤不完成采购状态*/
	@ApiModelProperty(value ="过滤不完成采购状态",name = "orderStatusNotComplete")
	private Integer orderStatusNotComplete;
	@ApiModelProperty(value ="备注",name = "noteInfo")
	private String noteInfo;
	@ApiModelProperty(value ="月结状态",name = "monthStatus")
	private String monthStatus;
	@ApiModelProperty(value = "预警查询",name = "alert")
	private Integer alert;
}